#! /bin/sh

echo "ohos_service_start"
mknod /dev/hilog c 245 1
chmod 666 /dev/hilog
mknod /dev/hwlog_exception   c 241 1
chmod 666 /dev/hwlog_exception
cd /ko
#switch sensor
#./load3519dv500 -i -sensor0 imx415 -vo_intf bt1120 -board dmeb
./load3519dv500 -i -sensor0 os08a20 -vo_intf bt1120 -board dmeb
chmod 666 /dev/mmz_userdev
chmod 777 /dev/i2c-0
chmod 666 /dev/sys
chmod 777 /dev/mem


ln -s /usr/bin/btools /bin/bspmd.l
ln -s /usr/bin/busybox /bin/awk
ln -s /usr/bin/busybox /bin/ipaddr
ln -s /usr/bin/busybox /bin/vi
